package org.myspringframework.beans.factory.config.beandefinition;

import org.myspringframework.beans.factory.config.beandefinition.BeanDefinition;

public interface BeanDefinitionRegistry {

    /**
     * 向注册表中注册 BeanDefinition
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    //判断是否有同名beanDefinition
    boolean containsBeanDefinition(String beanName);
}